// yl-cli config set account 19137804785;
// yl-cli config set password li111111;
import { cache } from "../utils/cache.js";

function exec(cmds) {
  const key = cmds.shift();
  if (key === undefined) {
	console.warn('请输入键');
	return;
  }
  const val = cmds.shift();
  if (val !== undefined) {
	cache(key, val);
  } else {
	console.log(key, cache(key));
  }
}

export {
    exec
}
